package kr.co.doriclassic.powerjava.chapter11;

class Shape {
	String msg;

	public Shape(String msg) {
		this.msg = msg;
	}	
}

public class Rectangle extends Shape{
	public Rectangle(){
		super("Shape 생성자");
		System.out.println("Rectangle 생성자");
	}
	
	public static void main(String[] args) {
		Rectangle r = new Rectangle();
		System.out.println(r);
	}
}
